package com.easy.frame.servers.sys.client;

import com.easy.frame.base.api.pojo.PageDTO;
import com.easy.frame.base.api.pojo.PageVO;
import com.easy.frame.base.basic.ServiceResponse;
import com.easy.frame.servers.sys.dto.SysSupplierPageDTO;
import com.easy.frame.servers.sys.vo.SysSupplierPageVO;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author msp
 * @date 2020/12/31
 */
@FeignClient(value = "sys", contextId = "sysSupplierClient")
@RequestMapping("/sys-supplier")
public interface SysSupplierClient {

    @PostMapping("/page")
    ServiceResponse<PageVO<SysSupplierPageVO>> page(@ApiParam("供应商推荐管理查询参数实体") @RequestBody PageDTO<SysSupplierPageDTO> pageDTO);
}
